package com.lagou.edu.service;

import com.lagou.edu.entity.Order;

import java.util.concurrent.ExecutionException;

/**
 * @author 赵虎
 * @date 2021/4/1 1:19 上午
 */
public interface OrderService {

    boolean addOrder(Order order) throws ExecutionException, InterruptedException;

    boolean payOrder(Integer orderId);
}
